/* This file is part of SurfBoard.
 
   SurfBoard is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.

   SurfBoard is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with SurfBoard.  If not, see <http://www.gnu.org/licenses/>. */

@interface SBSiteController : NSObject {
    IBOutlet NSWindow *window;
    IBOutlet WebView *webView;
    IBOutlet NSSegmentedControl *backForward;
    IBOutlet NSTextField *addressBar;
}
@property(readonly) IBOutlet WebView *webView;
- (id)initWithURL:(NSURL *)URL;
- (IBAction)goBackForward:(id)sender;
- (IBAction)goHome:(id)sender;
- (IBAction)loadURL:(id)sender;
- (void)openPanelEnded:(NSOpenPanel *)panel code:(int)code context:(void *)info;
- (void)progressEstimateChanged:(NSNotification *)notification;
- (IBAction)resetZoom:(id)sender;
- (IBAction)savePage:(id)sender;
- (void)savePanelEnded:(NSSavePanel *)panel code:(int)code context:(void *)info;
- (IBAction)toggleAlwaysOnTop:(id)sender;
- (IBAction)zoomIn:(id)sender;
- (IBAction)zoomOut:(id)sender;
@end